package com.lfnyxy.dao;import com.lfnyxy.entity.RedListEntity;import com.lfnyxy.query.RedListQuery;import org.apache.ibatis.annotations.Param;import java.util.List;/** * Created by ted on 17/5/8. */public interface RedListDao {     int CreateItem(RedListEntity entity);     int UpdateItem(RedListEntity entity);     List<RedListEntity> QueryPageList(RedListQuery query);     List<RedListEntity> QueryAll();	      int QueryPageListCount(RedListQuery query);     int CheckIsExist(RedListEntity entity);     RedListEntity QueryItem(int Id);     int DeleteItem(int Id);}